home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NOVA - For the NeXT Workstation
/
NOVA - For the NeXT Workstation.iso
/
SourceCode
/
Tutorial
/
Cookbook
/
03a.events
/
MyObject.m
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1992-12-19
|
305 b
|
25 lines
/* Generated by Interface Builder */
#import "MyObject.h"
#import <stdio.h>
@implementation MyObject
- incrementButton:sender
{
myInt++;
printf("myInt++ = %d\n", myInt);
return self;
}
- decrementButton:sender
{
myInt--;
printf("myInt-- = %d\n", myInt);
return self;
}
@end